Skip to main content

Troubleshooting

  1. PHP Version Mismatch
    • Install the required version:

      bash

      sudo apt install php7.4
  2. Database Connection Issues
    • Verify database credentials in config.inc.php and check service status:

      bash

      sudo systemctl status mariadb
    • Ensure that the database service is running.

  3. Permission Issues
    • Ensure /var/www/html/DVWA is owned by www-data:

      bash

      sudo chown -R www-data:www-data /var/www/html/DVWA
  4. Access Issues
    • If you follow the exact steps in chapter 2, please make sure HTTP is selected when configuring the Origin at SwiftFederation Portal.

    • If you're installing DVWA on a cloud instance (e.g., aws EC2), ensure that the instance's inbound rules are correctly configured to allow public internet traffic on ports 80 and 443.

      image-20250519174052294

    • SSL certificate generation may take a few moments. Please navigate to Websites > your domain > Config > SSL to verify that the certificate has been issued. Once confirmed, try accessing your DVWA site again.

      image-20250519174143341 maxiSafe_Troubleshooting-3